package com.wanma.recuit.pojo;

import java.io.Serializable;
import java.util.Date;

public class Collection implements Serializable {
    /**
	* 收藏记录的id
	*/
    private Integer id;

    /**
	* 用户的id
	*/
    private Integer userId;

    /**
	* 所申请岗位的id、
	*/
    private Integer jobId;
    private Job job;

    public Job getJob() {
        return job;
    }

    public void setJob(Job job) {
        this.job = job;
    }



    /**
	* 收藏时间
	*/
    private Date inputtime;





    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getJobId() {
        return jobId;
    }

    public void setJobId(Integer jobId) {
        this.jobId = jobId;
    }

    public Date getInputtime() {
        return inputtime;
    }

    public void setInputtime(Date inputtime) {
        this.inputtime = inputtime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userId=").append(userId);
        sb.append(", jobId=").append(jobId);
        sb.append(", inputtime=").append(inputtime);
        sb.append("]");
        return sb.toString();
    }
}